package com.jinglu.cloud.security.model;

import lombok.Data;
import lombok.ToString;

/**
 * @Author lvzhenzhao
 * @Datetime 2021/03/02-下午3:22
 */
@ToString
@Data
public class UserDetailResponse {

    private boolean success = true;
    private Integer code;
    private String userDetail;

    public UserDetailResponse(boolean success, Integer code, String userDetail) {
        this.success = success;
        this.code = code;
        this.userDetail = userDetail;
    }

    public UserDetailResponse(boolean success, Integer code) {
        this.success = success;
        this.code = code;
    }

}
